import pytest
from selenium import webdriver
from UI_web_wms.bayue.page.page import Page



@pytest.fixture(scope='session')
def driver():
    driver = webdriver.Chrome()

    driver.maximize_window()
    yield driver
    driver.quit()


def test_01(driver):
    po = Page(driver)
    po.luoji()